#ifndef USERINFOINPUTDIALOG_H
#define USERINFOINPUTDIALOG_H

#include <QDialog>
#include "Beans/userinfobeab.h"
#include "QSettings"

#include <QFileSystemWatcher>
namespace Ui {
class UserInfoInputDialog;
}

class UserInfoInputDialog : public QDialog
{
    Q_OBJECT

public:
    explicit UserInfoInputDialog(QWidget *parent = nullptr);
    ~UserInfoInputDialog();
    void setBg();
    void initialControl();
    UserInfoBeab getUserInfo()
    {
        return uib;
    }

private slots:
    void on_bt_exit_clicked();

    void on_bt_ok_clicked();

    void Initial();

    void on_lineEdit_ID_editingFinished();
    void fileChanged();

//signals:
//    void SendUserInfo(UserInfoBeab uid);



private:
    Ui::UserInfoInputDialog *ui;
    UserInfoBeab uib;
    QFileSystemWatcher watcher;


};

#endif // USERINFOINPUTDIALOG_H
